package com.mioto.ld.module.device.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author mioto-qinxj
 * @date 2024/6/14
 * @desc
 */
@Getter
@Setter
@ApiModel("设备列表搜索条件")
public class DeviceSearchDTO {
    @ApiModelProperty("设备类型id")
    private Integer deviceTypeId;
    @ApiModelProperty("设备型号")
    private String deviceModel;
    @ApiModelProperty("设备序列号")
    private String deviceSn;
    @ApiModelProperty("所属客户id")
    private Integer orgId;
    @ApiModelProperty("设备运行状态 0-离线 1-在线")
    private Integer runtimeStatus;
    @ApiModelProperty("设备状态 2-离线 3-在线")
    private Integer status;
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String[] filterSns;
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private int count;
}
